import request from '@/utils/request'
// import { makeFormData, transferFormData } from '@/utils/util'

const clueApi = {
  inquire: '/web/course/courseLiveList', // 直播录播课程查询
  addCourse: '/web/course/createCourse', // 新增
  delete: 'web/course/delete_area_bulid_course_ById' // 删除
}

export function submitCourse (data = {}) {
  return request({
    url: clueApi.inquire,
    method: 'post',
    data
  })
}

export function addCourseList (data = {}) {
  return request({
    url: clueApi.addCourse,
    method: 'post',
    data
  })
}

export function deleteList (params = {}) {
  return request({
    url: clueApi.delete,
    method: 'post',
    params
  })
}
